package com.mooc.ppjoke.loginroom;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;

import com.bw.common.entity.RoomUserEntity;

import java.util.List;

import io.reactivex.Maybe;

@Dao
public interface LoginDao {

    @Insert
    void loginInsert(RoomUserEntity.InsertUserValuesEntity entity);

    @Query("select * from InsertUserValuesEntity")
    Maybe<List<RoomUserEntity.InsertUserValuesEntity>> queryLogin();

}
